<a href="<\?php echo $this->action('add', $this->modelList); ?>">Add New</a>

<\?php 
    $grid = $this->grid($this->modelList);
    $grid->addHeader();
    $grid->startBody();
    
    foreach ($this->modelList as $model) {
        $grid->addRow($model);
    }
    
    echo $grid->generate();
    
?>
